package ftl.table;
import base.AutoCode;
public class Make_Table_Per_File {
	public static void main(String[] args) throws Exception 
	{
			  
	String files[][]=
	{
<#list doc.entitymodel.entity as entity>
			// ${entity.@entity_name}  ${entity.@description} 
{"entity.xml" ,"table/t_atable.sql.ftl", "@table/sql/t_${entity.@entity_name}.sql", "null.xml",  "object:${entity.@entity_name}"},
					
</#list>
   };
//
	
	for(int i=0;i${"<"}files.length;i++)
	  AutoCode.execute(files[i]);
		  
	}
}
/*
 *
 *  xml/entity.xml 	table/t_atable.sql.ftl  Resource/sql/tables/t_WebPage.sql null.xml  object:WebPage;

 */
